home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 14503 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  509 b 

  1. From: Jim_Marshall@msn.com (Jim Marshall)
  2. Subject: RE: Help Please
  3. Date: 31 Mar 96 05:17:11 -0800
  4. References: <4ji7eo$kgm@daisy.flex.com.au>
  5. Message-ID: <00001a81+0000b0ae@msn.com>
  6. Path: news.msn.com!msn.com
  7. Newsgroups: comp.lang.c++
  8. Organization: The Microsoft Network (msn.com)
  9.  
  10. You can't use the == operator when dealing with string arrays (in 
  11. essence your comparing the address of last2 to the address of him 
  12. which are in fact different).  You should use the strcmp() function 
  13. to compare string arrays
  14.